function getSessionUser(){
	return JSON.parse($.ajax({
		url: './js/ajax/getSessionUser.php',
		global: false,
		type: "POST",
		dataType: "html",
		async:false,
	}).responseText);
}
function getSessionStats(){
	return JSON.parse($.ajax({
		url: './js/ajax/getSessionStats.php',
		global: false,
		type: "POST",
		dataType: "html",
		async:false,
	}).responseText);
}
function saveSessionAvatar(urlAvatar){
	var urlAvatar=urlAvatar;
	$.ajax({
		url: './js/ajax/saveSessionAvatar.php',
		data: {avatar: urlAvatar},
		global: false,
		type: "POST",
		dataType: "html",
		async:false,
	});
}